import request from '@/utils/request'
let serviceName="/order-service"
export function addOrder(orders){
    return request({url: serviceName + "/orders/insert", method: "post",data:orders});
}
export function getByUserId(userId){
    return request({url: serviceName + "/orders/getByUserId", method: "post",params:{"userId":userId}});
}